package me.zhengjie.minbearwcs.entity.PO.wcs.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.zhengjie.minbearwcs.entity.PO.wcs.common.status.CommonRecordStatus;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
* 通用任务记录表
* @TableName common_task_record
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonTaskRecord implements Serializable {

    /**
    * 
    */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 
    */
    private String commonTaskRecordId;
    /**
    * 单号
    */
    private String orderCode;
    /**
    * 任务类型
    */
    private String missioonType;
    /**
    * 栈板号
    */
    private String palletCode;
    /**
    * 状态
    */
    private CommonRecordStatus status;
    /**
    * 起始楼层
    */
    private Integer startFloorNum;
    /**
    * 起始点位
    */
    private String startPoint;
    /**
    * 终点楼层
    */
    private Integer endFloorNum;
    /**
    * 终点点位
    */
    private String endPoint;
    /**
    * 需要等待的小储位
    */
    private String waitSmallStorage;
    /**
    * 开始时间
    */
    private LocalDateTime startTime;
    /**
    * 结束时间
    */
    private LocalDateTime finishTime;


}
